import js2py

un ='''
function sample(x)
{
    return func2(x)
}
'''

print(js2py.eval_js(un)("Hi"))